package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * NursinghomeregIstration对象 nursinghomeregistration
 * 
 * @author ruoyi
 * @date 2025-01-11
 */
public class NursinghomeregIstration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入住编号 */
    private Long registrationId;

    /** 房间号 */
    @Excel(name = "房间号")
    private Long roomNumber;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 紧急联系人 */
    @Excel(name = "紧急联系人")
    private String emergencyContact;

    /** 入住时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkinTime;

    /** 护工编号 */
    @Excel(name = "护工编号")
    private Long eid;

    /** 健康状态 */
    @Excel(name = "健康状态")
    private String healthStatus;

    /** 备用1 */
    @Excel(name = "备用1")
    private String Field1;

    /** 备用2 */
    @Excel(name = "备用2")
    private String Field2;

    /** 备用3 */
    @Excel(name = "备用3")
    private String Field3;

    /** 备用4 */
    @Excel(name = "备用4")
    private String Field4;

    public void setRegistrationId(Long registrationId) 
    {
        this.registrationId = registrationId;
    }

    public Long getRegistrationId() 
    {
        return registrationId;
    }
    public void setRoomNumber(Long roomNumber) 
    {
        this.roomNumber = roomNumber;
    }

    public Long getRoomNumber() 
    {
        return roomNumber;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setEmergencyContact(String emergencyContact) 
    {
        this.emergencyContact = emergencyContact;
    }

    public String getEmergencyContact() 
    {
        return emergencyContact;
    }
    public void setCheckinTime(Date checkinTime) 
    {
        this.checkinTime = checkinTime;
    }

    public Date getCheckinTime() 
    {
        return checkinTime;
    }
    public void setEid(Long eid) 
    {
        this.eid = eid;
    }

    public Long getEid() 
    {
        return eid;
    }
    public void setHealthStatus(String healthStatus) 
    {
        this.healthStatus = healthStatus;
    }

    public String getHealthStatus() 
    {
        return healthStatus;
    }
    public void setField1(String Field1) 
    {
        this.Field1 = Field1;
    }

    public String getField1() 
    {
        return Field1;
    }
    public void setField2(String Field2) 
    {
        this.Field2 = Field2;
    }

    public String getField2() 
    {
        return Field2;
    }
    public void setField3(String Field3) 
    {
        this.Field3 = Field3;
    }

    public String getField3() 
    {
        return Field3;
    }
    public void setField4(String Field4) 
    {
        this.Field4 = Field4;
    }

    public String getField4() 
    {
        return Field4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("registrationId", getRegistrationId())
            .append("roomNumber", getRoomNumber())
            .append("name", getName())
            .append("gender", getGender())
            .append("age", getAge())
            .append("idNumber", getIdNumber())
            .append("emergencyContact", getEmergencyContact())
            .append("checkinTime", getCheckinTime())
            .append("eid", getEid())
            .append("healthStatus", getHealthStatus())
            .append("Field1", getField1())
            .append("Field2", getField2())
            .append("Field3", getField3())
            .append("Field4", getField4())
            .toString();
    }
}
